package com.ruoyi.caigou.service;

import java.util.List;
import com.ruoyi.caigou.domain.BuyComparePrice;
import com.ruoyi.caigou.domain.dto.BuyComDTO;

/**
 * 采购比价Service接口
 * 
 * @author lvql
 * @date 2024-11-01
 */
public interface IBuyComparePriceService 
{
    /**
     * 查询采购比价
     * 
     * @param id 采购比价主键
     * @return 采购比价
     */
    public BuyComparePrice selectBuyComparePriceById(Integer id);

    BuyComDTO selectBuyComparePriceInfoById(Integer id);
    /**
     * 查询采购比价列表
     * 
     * @param buyComparePrice 采购比价
     * @return 采购比价集合
     */
    public List<BuyComparePrice> selectBuyComparePriceList(BuyComparePrice buyComparePrice);

    /**
     * 新增采购比价
     * 
     * @param buyComparePrice 采购比价
     * @return 结果
     */
    public int insertBuyComparePrice(BuyComparePrice buyComparePrice);
    int insertBuyComparePricePlus(BuyComDTO buyComDTO);
    /**
     * 修改采购比价
     * 
     * @param buyComparePrice 采购比价
     * @return 结果
     */
    public int updateBuyComparePrice(BuyComparePrice buyComparePrice);
    int updateBuyComparePricePlus(BuyComDTO buyComDTO);
    /**
     * 批量删除采购比价
     * 
     * @param ids 需要删除的采购比价主键集合
     * @return 结果
     */
    public int deleteBuyComparePriceByIds(Integer[] ids);

    /**
     * 删除采购比价信息
     * 
     * @param id 采购比价主键
     * @return 结果
     */
    public int deleteBuyComparePriceById(Integer id);


    int deleteBuyComparePriceInfoByIds(Integer[] ids);
}
